//
//  YLIconTitleModel.h
//  YLFinanceService
//
//  Created by she1323 on 2017/8/31.
//  Copyright © 2017年 she1323. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface YLIconTitleModel : NSObject

@property (nonatomic, strong) NSString *icon;

@property (nonatomic, strong) NSString *title;

@property (nonatomic, strong) NSString *(^clickBlock)(void) ;

+ (instancetype)modelWithIcon:(NSString *)icon title:(NSString *)title clickBlock:(NSString *(^)(void))block;
@end


@interface YLIconTitleNoArrowModel : YLIconTitleModel



@property (nonatomic, strong) NSString *content;



@property (nonatomic, strong) UIColor *contentColor;


+ (instancetype)modelWithIcon:(NSString *)icon title:(NSString *)title content:(NSString *)content;
@end




@interface YLIconTitleContentModel : YLIconTitleModel

@property (nonatomic, strong) NSString *content;

@property (nonatomic, strong) UIColor *contentColor;

+ (instancetype)modelWithIcon:(NSString *)icon title:(NSString *)title content:(NSString *)content clickBlock:(NSString *(^)(void))block;

@end



@interface YLIconTitleNumberModel : YLIconTitleModel
/**
 提示数字
 */
@property (nonatomic, assign) NSInteger number;



+ (instancetype)modelWithIcon:(NSString *)icon title:(NSString *)title number:(NSInteger )number clickBlock:(NSString *(^)(void))block;

@end



@interface YLIconTitleSpotModel : YLIconTitleModel

@property (nonatomic, assign) BOOL haveNews;

+ (instancetype)modelWithIcon:(NSString *)icon title:(NSString *)title haveNews:( BOOL)haveNews clickBlock:(NSString *(^)(void))block;
@end
